var express = require("express");
var bodyParser = require("body-parser");
var viewJobList = require("./routes/viewJobList");
var list = require("./routes/list");

var app = express();

app.use(bodyParser.json());
app.use(bodyParser.urlencoded({extended: true}));

app.use("/secured/viewJobList", viewJobList);
app.use("/nonesecured", list);

app.listen(3000);